package com.enfo.zjabank.controller;

import com.enfo.zjabank.dao.GridDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by zhoum on 2016/8/31.
 */
@Controller
@RequestMapping("/grid")
public class GridController {
    @Autowired
    private GridDao gridDao;

    @RequestMapping(value = "/customQuery",method = RequestMethod.GET)
    public @ResponseBody String customQuery(@RequestBody List<Map<String,String>> list){
        System.out.println(list);
        List<Map<String,String>> result = new ArrayList<>();
        Map<String,String> map = new HashMap<>();
        return null;
    }
}
